package com.skivingcloud.apiplatform.mng.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author skivingcloud
 * @since 2022-11-01
 */
@TableName("api_platform_mng")
@ApiModel(value = "ApiPlatformMng对象", description = "")
public class ApiPlatformMng implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("接入方名称")
    private String appName;

    @ApiModelProperty("给调用方分配的唯一编号")
    private String appId;

    @ApiModelProperty("给调用方的秘钥")
    private String appSecret;

    @ApiModelProperty("非对称加密私钥")
    private String appPrivateSecret;

    @ApiModelProperty("启用状态：启用、停用、删除")
    private String appStatus;

    @ApiModelProperty("加密算法")
    private String encryption;

    @ApiModelProperty("加密算法类型：1-对称加密、2-非对称加密、3-摘要算法")
    private String cryptType;

    @ApiModelProperty("自定义加密算法实现类beanName")
    private String encBean;

    @ApiModelProperty("是否启用白名单：0-否、1-是")
    private String ipWhite;

    @ApiModelProperty("白名单列表，多个用逗号分隔")
    private String whiteList;

    @ApiModelProperty("创建人")
    private String creater;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改人")
    private String modUser;

    @ApiModelProperty("修改时间")
    private LocalDateTime modTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }
    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }
    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }
    public String getAppPrivateSecret() {
        return appPrivateSecret;
    }

    public void setAppPrivateSecret(String appPrivateSecret) {
        this.appPrivateSecret = appPrivateSecret;
    }
    public String getAppStatus() {
        return appStatus;
    }

    public void setAppStatus(String appStatus) {
        this.appStatus = appStatus;
    }
    public String getEncryption() {
        return encryption;
    }

    public void setEncryption(String encryption) {
        this.encryption = encryption;
    }
    public String getCryptType() {
        return cryptType;
    }

    public void setCryptType(String cryptType) {
        this.cryptType = cryptType;
    }
    public String getEncBean() {
        return encBean;
    }

    public void setEncBean(String encBean) {
        this.encBean = encBean;
    }
    public String getIpWhite() {
        return ipWhite;
    }

    public void setIpWhite(String ipWhite) {
        this.ipWhite = ipWhite;
    }
    public String getWhiteList() {
        return whiteList;
    }

    public void setWhiteList(String whiteList) {
        this.whiteList = whiteList;
    }
    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getModUser() {
        return modUser;
    }

    public void setModUser(String modUser) {
        this.modUser = modUser;
    }
    public LocalDateTime getModTime() {
        return modTime;
    }

    public void setModTime(LocalDateTime modTime) {
        this.modTime = modTime;
    }

    @Override
    public String toString() {
        return "ApiPlatformMng{" +
            "id=" + id +
            ", appName=" + appName +
            ", appId=" + appId +
            ", appSecret=" + appSecret +
            ", appPrivateSecret=" + appPrivateSecret +
            ", appStatus=" + appStatus +
            ", encryption=" + encryption +
            ", cryptType=" + cryptType +
            ", encBean=" + encBean +
            ", ipWhite=" + ipWhite +
            ", whiteList=" + whiteList +
            ", creater=" + creater +
            ", createTime=" + createTime +
            ", modUser=" + modUser +
            ", modTime=" + modTime +
        "}";
    }
}
